Package cells.converter

Source Code of cells.converter.AsposeConverter

package cells.converter;

import com.aspose.cells.SaveFormat;
import com.aspose.cells.Workbook;

public class AsposeConverter
{
  public static void main(String[] args) throws Exception
  {
    Workbook workbook = new Workbook("data/workbook.xls");
   
    //Save the document in PDF format
    workbook.save("data/AsposeConvert.pdf", SaveFormat.PDF);

        // Print message
        System.out.println("Excel to PDF conversion performed successfully.");
  }
}
TOP

Related Classes of cells.converter.AsposeConverter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.